<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="./js/jquery.min.js"></script>
	</head>
	<body>
		<h1>点击按钮后被禁止</h1>
		<button id="pay">支付宝支付</button>
		<button id="wc">微信支付</button>
	</body>
	<script type="text/javascript">
		$("#pay").click(function(){
			$("#pay").attr("disabled",true);
			$("#pay").text($(this).text() + "，已经支付，请稍后...");
			$("#wc").attr("disabled",true);
			$("#wc").attr("style",)
		})
	</script>
</html>
